package com.gold.mapper;

import java.util.List;
import java.util.Map;

import com.gold.entity.User;

public interface UserMapper {

	public List<User> selectAllUser();

	public List<User> selectUserByLikeAndPage(Map<String, String> map);

	public List<User> selectUserByLike(Map<String, String> map);

	public List<User> selectUserByPage(Map<String, String> map);

	public User selectUserByUserName(String userName);
	
	public User selectUserByUserPhone(String userPhone);
	
	public User selectUserByUserId(int userId);

	public void insertUser(User user);

	public void updateUserStatusIdByUserId(User user);

	public void updateUserPwdByUserId(Map<String, String> map);
	
	public void updateUserCurrencyByUserId(Map<String, String> map);
	
	public void updateUserTariffeByUserId(Map<String, String> map);
	
	public void updateUserCardAmountByUserId(Map<String, String> map);

}
